using UnityEngine;
using System;
using System.Collections;

[ExecuteInEditMode]
public class UIColorText : MonoBehaviour 
{
	public Color mainColor;
	
	void Awake()
	{
		mainColor = new Color(mainColor.r,mainColor.g,mainColor.b,1);
	}
	
	void Update()
	{
		renderer.material.color = mainColor;
	}
	
}
